package com.greateamd.timetableasy.client.services.campus;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.greateamd.timetableasy.domain.Campus;
import com.greateamd.timetableasy.domain.Event;


public interface CampusServiceAsync {

	void remove(Campus campus, AsyncCallback<Boolean> callback);
	void find(int id, AsyncCallback<Campus> callback);
	void update(Campus campus, AsyncCallback<Boolean> callback);
	void save(Campus campus, AsyncCallback<Boolean> callback);
	void getAll(AsyncCallback<List<Campus>> callback);
	
	void getPlanning(Campus selectedCampus, Date fromDate, Date toDate,AsyncCallback<List<Event>> asyncCallback);
}
